Logic, Computation And Set Theory
Logic, Computation And Set Theory
A B1.12
Part II, 2001 comment(i) What is the Halting Problem? What is an unsolvable problem?
(ii) Prove that the Halting Problem is unsolvable. Is it decidable whether or not a machine halts with input zero?
B2.11
Part II, 2001 commentLet be an arbitrary set, and the power set of . For a subset of , the dual of is the set .
(i) Show that .
Show that for a family of subsets of
(ii) Consider . Show that , is a chain-complete poset.
State Zorn's lemma and use it to deduce that there exists with .
Show that if then the following hold:
is closed under superset; for all contains either or .
A3.8 B3.11
Part II, 2001 comment(i) Write down a set of axioms for the theory of dense linear order with a bottom element but no top element.
(ii) Prove that this theory has, up to isomorphism, precisely one countable model.
A4.8 B4.10
Part II, 2001 commentWhat is a wellfounded relation, and how does wellfoundedness underpin wellfounded induction?
A formula with two free variables defines an -automorphism if for all there is a unique , the function , defined by if and only if , is a permutation of the universe, and we have .
Use wellfounded induction over to prove that all formulæ defining -automorphisms are equivalent to .
A B1.12
Part II, 2002 comment(i) State the Knaster-Tarski fixed point theorem. Use it to prove the Cantor-Bernstein Theorem; that is, if there exist injections and for two sets and then there exists a bijection .
(ii) Let be an arbitrary set and suppose given a subset of . We define a subset to be -closed just if whenever and then . Show that the set of all -closed subsets of is a complete poset in the inclusion ordering.
Now assume that is itself equipped with a partial ordering .
(a) Suppose satisfies the condition that if then .
Show that if is -closed then implies .
(b) Suppose that satisfies the following condition. Whenever and then there exists such that , and for every we have (i) , and (ii) for some . Let and be -closed subsets of . Show that the set
is -closed.
B2.11
Part II, 2002 commentExplain what is meant by a structure for a first-order language and by a model for a first-order theory. If is a first-order theory whose axioms are all universal sentences (that is, sentences of the form where is quantifier-free), show that every substructure of a -model is a -model.
Now let be an arbitrary first-order theory in a language , and let be an -structure satisfying all the universal sentences which are derivable from the axioms of . If is a quantifier-free formula (with free variables say) whose interpretation is a nonempty subset of , show that is consistent.
Let be the language obtained from by adjoining a new constant for each element of , and let
Show that has a model. [You may use the Completeness and Compactness Theorems.] Explain briefly why any such model contains a substructure isomorphic to .
A3.8 B3.11
Part II, 2002 comment(i) Explain briefly what is meant by the terms register machine and computable function.
Let be the universal computable function and a total computable function with . Here and are the unary and binary functions computed by the -th register machine program . Suppose is a total computable function. By considering the function
show that there is a number such that .
(ii) Let be the set of all partial functions . Consider the mapping defined by
(a) Show that any fixed point of is a total function . Deduce that has a unique fixed point.
[The Bourbaki- Witt Theorem may be assumed if stated precisely.]
(b) It follows from standard closure properties of the computable functions that there is a computable function such that
Assuming this, show that there is a total computable function such that
Deduce that the fixed point of is computable.
A4.8
Part II, 2002 commentLet be a set of primitive propositions. Let denote the set of all compound propositions over , and let be a subset of . Consider the relation on defined by
Prove that is reflexive and transitive. Deduce that if we define by if and only if and , then is an equivalence relation and the quotient is partially ordered by the relation induced by (that is, if and only if , where square brackets denote equivalence classes).
Assuming the result that is a Boolean algebra with lattice operations induced by the logical operations on (that is, , etc.), show that there is a bijection between the following two sets:
(a) The set of lattice homomorphisms .
(b) The set of models of the propositional theory .
Deduce that the completeness theorem for propositional logic is equivalent to the assertion that, for any Boolean algebra with more than one element, there exists a homomorphism .
[You may assume the result that the completeness theorem implies the compactness theorem.]
B4.10
Part II, 2002 commentExplain what is meant by a well-ordering of a set.
Without assuming Zorn's Lemma, show that the power-set of any well-ordered set can be given a total (linear) ordering.
By a selection function for a set , we mean a function such that for all for all , and if has more than one element. Suppose given a selection function . Given a mapping for some ordinal , we define a subset recursively as follows:
Show that, for any and any ordinal , there exists a function with domain such that .
[It may help to observe that is uniquely determined by and , though you need not show this explicitly.]
Show also that there exists such that, for every with domain is either empty or a singleton.
Deduce that the assertion 'Every set has a selection function' implies that every set can be totally ordered.
[Hartogs' Lemma may be assumed, provided you state it precisely.]
A B1.12
Part II, 2003 comment(i) State Zorn's Lemma. Use Zorn's Lemma to prove that every real vector space has a basis.
(ii) State the Bourbaki-Witt Theorem, and use it to prove Zorn's Lemma, making clear where in the argument you appeal to the Axiom of Choice.
Conversely, deduce the Bourbaki-Witt Theorem from Zorn's Lemma.
If is a non-empty poset in which every chain has an upper bound, must be chain-complete?
B2.11
Part II, 2003 commentState the Axiom of Replacement.
Show that for any set there is a transitive set that contains , indicating where in your argument you have used the Axiom of Replacement. No form of recursion theorem may be assumed without proof.
Which of the following are true and which are false? Give proofs or counterexamples as appropriate. You may assume standard properties of ordinals.
(a) If is a transitive set then is an ordinal.
(b) If each member of a set is an ordinal then is an ordinal.
(c) If is a transitive set and each member of is an ordinal then is an ordinal.
A3.8 B3.11
Part II, 2003 comment(i) What does it mean for a function from to to be recursive? Write down a function that is not recursive. You should include a proof that your example is not recursive.
(ii) What does it mean for a subset of to be recursive, and what does it mean for it to be recursively enumerable? Give, with proof, an example of a set that is recursively enumerable but not recursive. Prove that a set is recursive if and only if both it and its complement are recursively enumerable. If a set is recursively enumerable, must its complement be recursively enumerable?
[You may assume the existence of any universal recursive functions or universal register machine programs that you wish.]
A4.8 B4.10
Part II, 2003 commentWrite an essay on propositional logic. You should include all relevant definitions, and should cover the Completeness Theorem, as well as the Compactness Theorem and the Decidability Theorem.
[You may assume that the set of primitive propositions is countable. You do not need to give proofs of simple examples of syntactic implication, such as the fact that is a theorem or that and syntactically imply .]
A B1.12
Part II, 2004 comment(i) State and prove the Knaster-Tarski Fixed-Point Theorem.
(ii) A subset of a poset is called an up-set if whenever satisfy and then also . Show that the set of up-sets of (ordered by inclusion) is a complete poset.
Let and be totally ordered sets, such that is isomorphic to an up-set in and is isomorphic to the complement of an up-set in . Prove that is isomorphic to . Indicate clearly where in your argument you have made use of the fact that and are total orders, rather than just partial orders.
[Recall that posets and are called isomorphic if there exists a bijection from to such that, for any , we have if and only if .]
B2.11
Part II, 2004 commentDefine the sets . Show that each is transitive, and explain why whenever . Prove that every set is a member of some .
Which of the following are true and which are false? Give proofs or counterexamples as appropriate. You may assume standard properties of rank.
(a) If the rank of a set is a (non-zero) limit then is infinite.
(b) If the rank of a set is a successor then is finite.
(c) If the rank of a set is countable then is countable.
A3.8 B3.11
Part II, 2004 comment(i) State and prove the Compactness Theorem for first-order predicate logic.
State and prove the Upward Löwenheim-Skolem Theorem.
[You may use the Completeness Theorem for first-order predicate logic.]
(ii) For each of the following theories, either give axioms (in the language of posets) for the theory or prove carefully that the theory is not axiomatisable.
(a) The theory of posets having no maximal element.
(b) The theory of posets having a unique maximal element.
(c) The theory of posets having infinitely many maximal elements.
(d) The theory of posets having finitely many maximal elements.
(e) The theory of countable posets having a unique maximal element.
A4.8 B4.10
Part II, 2004 commentWrite an essay on recursive functions. Your essay should include a sketch of why every computable function is recursive, and an explanation of the existence of a universal recursive function, as well as brief discussions of the Halting Problem and of the relationship between recursive sets and recursively enumerable sets.
[You may assume that every recursive function is computable. You do not need to give proofs that particular functions to do with prime-power decompositions are recursive.]